<?php

namespace Database\Factories;

use App\Models\SystemStore;
use Illuminate\Database\Eloquent\Factories\Factory;

class SystemStoreFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = SystemStore::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'name'=>$this->faker->name,
'introduction'=>$this->faker->text(15),
'phone'=>$this->faker->phoneNumber,
'address'=>$this->faker->address,
'detailed_address'=>$this->faker->address(),
'image'=>'http://placeimg.com/40/40/any',
'oblong_image'=>'http://placeimg.com/40/40/any',
'latitude'=>$this->faker->numberBetween(11,99),
'longitude'=>$this->faker->numberBetween(11,99),
'valid_time'=>$this->faker->time('Y-m-d H:i:s'),
'day_time'=>$this->faker->time('Y-m-d H:i:s'),
'status'=>$this->faker->randomElement([0,1]),
        ];
    }
}
